package com.tcm.entity.dto.param;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 更新社会化学员参数
 * @author Guqier
 * @version 1.0
 * @date 2023/7/28 15:48
 */
@Data
public class SocialStudentUpdateParam {

    //学员ID
    @NotNull(message = "id不能为空")
    private Long id;

    //姓名
    @NotBlank(message = "name不能为空")
    private String name;

    //性别，0为女，1为男
    @NotNull(message = "gender不能为空")
    private Integer gender;

    //证件号
    @NotBlank(message = "cardId不能为空")
    private String cardId;

    //社会化班级ID
    @NotNull(message = "clazzId不能为空")
    private Long clazzId;

    //电子邮箱
    private String email;

    //电话
    private String phone;

}
